AmeliaBooking\Infrastructure\Repository\Booking\Appointment\AppointmentRepository D

Total Complexity 145
Dependencies 12
Dependents 0
Total lines 1,653
Lines of code 1,177
Logical lines of code 471
Comment lines 133
Methods 17
Properties 11

Methods 17

Method Rating Maintainability Complexity Lines of code
getFiltered()
D
17
42 320
getPeriodAppointments()
C
31 22 111
getPeriodAppointmentsCount()
B
35 19 82
getFutureAppointments()
A
37 9 86
getFutureAppointmentsServicesIds()
A
49 8 28
getFutureAppointmentsProvidersIds()
A
49 8 28
getByPaymentId()
S
40 3 86
add()
S
43 5 54
getByBookingId()
S
40 3 83
getRelevantAppointmentsCount()
S
44 5 45
getById()
S
40 2 89
getCurrentAppointments()
S
48 5 33
getLastBookedEmployee()
S
49 5 29
update()
S
45 3 44
updateStatusById()
S
55 3 21
getAppointmentsWithoutBookings()
S
54 2 24
__construct()
S
59 1 14